package com.phei.netty.codec.pojo;

import java.io.Serializable;


public class Request implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private long mainModuleId;
    private long subModuleId;
    private long createTime;
    //
    private String content;

    public long getMainModuleId() {
        return mainModuleId;
    }

    public void setMainModuleId(long mainModuleId) {
        this.mainModuleId = mainModuleId;
    }

    public long getSubModuleId() {
        return subModuleId;
    }

    public void setSubModuleId(long subModuleId) {
        this.subModuleId = subModuleId;
    }

    public long getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = System.currentTimeMillis();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "Request{" +
                "mainModuleId=" + mainModuleId +
                ", subModuleId=" + subModuleId +
                ", createTime=" + createTime +
                ", content='" + content + '\'' +
                '}';
    }
}
